package com.qf.common.utils;

public class UserUtils {
    private static ThreadLocal<Integer> threadLocal=new ThreadLocal<>();
    public static void setUid(Integer uid){
        threadLocal.set(uid);
    }
    public static Integer getUid(){
        return threadLocal.get();
    }
    public static void remoteUid(){
        threadLocal.remove();
    }
}
